Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running node bundles in dev server #10055

Merged
merged 3 commits into from
Dec 23, 2024
Merged

Support running node bundles in dev server #10055

merged 3 commits into from
Dec 23, 2024

Conversation

devongovett
Copy link
Member

@devongovett devongovett commented Dec 22, 2024

This enables using parcel serve (or just parcel) when the entry point of your app is a Node server, e.g. when using React Server Components. In this case, @parcel/reporter-dev-server will run your server entry point in a Worker for you, and forward its stdio to the Parcel logger. In addition, it will automatically restart your node program when it changes, and it integrates with HMR as well to only restart when needed.

I think this finally closes #355 and closes #737!

@devongovett devongovett merged commit 3a06472 into v2 Dec 23, 2024
17 checks passed
@devongovett devongovett deleted the node-dev-server branch December 23, 2024 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant